/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mscs.client.goods.logic;

import java.util.ArrayList;
import java.util.Vector;
import mscs.data.pojo.Goods;
import mscs.data.pojo.Person;

/**
 *
 * @author Usbuild
 */
public interface IAddGoodsUtil {
    public ArrayList<Goods> getCacheList();
    public Vector<Vector<String>> addListVector();//返回入库列表表格的Vector
    public void removeFromCache(int index);//从入库列表中删除index对象
    public boolean addToCache(Goods goods);//将goods增加至入库列表
    public boolean commitCacheList();//提交入库列表
    public Goods getCacheByIndex(int index);//从入库列表根据index获取goods
    public void setCacheByIndex(int index, Goods goods);//设置入库列表的index商品
    public Person getPerson();
    public void setPerson(Person person);
}
